﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： CarLockEntity.cs
// 项目名称：斑马车务
// 创建时间：2019-12-02
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
	/// <summary>
	///数据实体  
	/// </summary>
    [PrimaryKey("ID")]
	public class CarLock
	{
		///<summary>
		///
		///</summary>
		public CarLock()
		{
		}	
    
		
		///<summary>
		///
		///</summary>
        [Column("ID","")]
        public int ID { get; set; }
        ///<summary>
        ///省份ID
        ///</summary>
        [Column("ProvinceID", "省份ID")]
        public int ProvinceID { get; set; }
        ///<summary>
        ///
        ///</summary>
        [Column("CityID","")]
        public int CityID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("DistrictID","")]
        public int DistrictID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("Address","")]
        public string Address { get; set; }

		///<summary>
		///
		///</summary>
        [Column("LockNum","")]
        public string LockNum { get; set; }

		///<summary>
		///
		///</summary>
        [Column("ImageUrl","")]
        public string ImageUrl { get; set; }

		///<summary>
		///
		///</summary>
        [Column("Parking","")]
        public string Parking { get; set; }

		///<summary>
		///
		///</summary>
        [Column("CreateDate","")]
        public DateTime CreateDate { get; set; }

		///<summary>
		///
		///</summary>
        [Column("UpdateDate","")]
        public DateTime UpdateDate { get; set; }

		///<summary>
		///
		///</summary>
        [Column("UserId","")]
        public int UserId { get; set; }

		///<summary>
		///
		///</summary>
        [Column("Longitude","")]
        public decimal Longitude { get; set; }

		///<summary>
		///
		///</summary>
        [Column("Lattitude","")]
        public decimal Lattitude { get; set; }

		///<summary>
		///
		///</summary>
        [Column("IsActive","")]
        public int IsActive { get; set; }

		///<summary>
		///0：降锁  1：升锁
		///</summary>
        [Column("LockStatus","0：降锁  1：升锁")]
        public int LockStatus { get; set; }

		///<summary>
		///渠道来源，暂定字符串
		///</summary>
        [Column("Channel","渠道来源，暂定字符串")]
        public string Channel { get; set; }

        ///<summary>
		///秘钥，暂定字符串
		///</summary>
        [Column("LockKey", "秘钥，暂定字符串")]
        public string LockKey { get; set; }


    }
}